<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Dashboard extends CI_Controller 
{
	function __construct()
    {
        parent::__construct();
        session_start();
    }

    function index()
    {
    	//prendo l'elenco degli ordini arrivati
    	$data['ordini'] = $this->Order_model->findOrdersOpened();

        $data['content'] = 'dashboard';
    	$this->load->view('master_view',$data);
    }
}

?>